package gov.nist.healthcare.testframework.application.generic;

import gov.nist.healthcare.core.message.HL7Message;
import gov.nist.healthcare.testframework.application.TestAgent;
import java.util.ArrayList;
import java.util.List;

public class GenericInitiatorTestAgent extends TestAgent {

    @Override
    public List<HL7Message> newMessage(HL7Message message) {
        List<HL7Message> messages = new ArrayList<HL7Message>();
        System.out.println("Received message GENERIC INITIATOR TEST AGENT");
        System.out.println(message.getMessageAsString());
        return messages;
    }

    @Override
    public boolean checkBeforeSending(HL7Message message) {
        return true;
    }

}
